<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>only vite</h1>
    <div class="a" style="width: 300px; height: 300px;">
        div
    </div>
    
    <script>
        let globalObjLet={
            name:'let global',
            age:10,
            fn1:(x)=>{
                console.log(" x ", x);
                return x;
            }
        }

        var globalObjVar={
            name:'var global',
            age:10,
            fn1:(x)=>{
                console.log(" x ", x);
                return x;
            }
        }
    </script>
    <script type="module" src="./src/main.ts">
        
    </script>
</body>
</html>